<!doctype html>
<html lang="zh-cn">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>表SHOP</title>
  <style>
    [data-link] {
      display: inline-block;
      padding: 5px 10px;
      cursor: pointer;
      background: rgba(0, 0, 0, .1);
    }

    [data-link]:hover {
      background: rgba(0, 0, 0, .15);
    }
  </style>
</head>

<body>
  <div class="nav">
    <span data-link="admin" class="nav-item">后台管理</span>
    <span data-link="home" class="nav-item">首页</span>
  </div>

  <div data-page="home" class="page home">
    Home
  </div>
  <div data-page="admin" class="page admin">
    Admin
  </div>

  <script src="js/storage.js"></script>
  <script src="js/router.js"></script>
</body>

</html>